import Vue from 'vue'
import Router from 'vue-router'
import Signup from "../pages/Signup";
import Login from "../pages/Login";
import Main from "../pages/Main";
import Stores from "../pages/Stores";
import Foods from "../pages/Foods";
import Drinks from "../pages/Drinks";
import Studys from "../pages/Studys";
import Lifes from "../pages/Lifes";
import Tops from "../pages/Tops";
import Carts from "../pages/Carts";
import Infos from "../pages/Infos";
import Ventor from "../pages/Ventor";
import Search from "@/pages/Search";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      component: Main
    },
    {
      path:'/signup',
      component: Signup,
    },
    {
      path:'/login',
      component:Login,
    },
    {
      path:'/stores',
      component: Stores
    },
    {
      path:'/food',
      component: Foods
    },
    {
      path:'/drink',
      component: Drinks
    },
    {
      path:'/study',
      component: Studys
    },
    {
      path:'/life',
      component: Lifes
    },
    {
      path:'/tops',
      component: Tops
    },
    {
      path:'/carts',
      component: Carts
    },
    {
      path:'/infos',
      component: Infos
    },
    {
      path:'/ventor',
      component: Ventor
    },
    {
      path:'/search',
      component: Search

    }
  ]
})
